/**
 * 描述：SSO子系统管理
 * @Author ${author}
 * @mail ${mail}
 * @Date ${date}
 */
import fetch from '@/utils/fetch';

const CurrentStatusApi = {
    getPageList (params) {
        return fetch({
            url: '/api/CurrentStatus/list',
            method: 'get',
            params: params
        });
    },
	emp (data) {
		return fetch({
			url: '/api/CurrentStatus',
			method: 'get',
			params: data
		})
	},
    getDetail (id) {
        return fetch({
            url: '/api/CurrentStatus/',
            method: 'get',
			params: id
        });
    },
    add (data) {
        return fetch({
            url: '/api/CurrentStatus/',
            method: 'post',
            data: data
        });
    },
    update (data) {
        return fetch({
            url: '/api/CurrentStatus/',
            method: 'put',
            data: data
        });
    },
    del (data) {
        return fetch({
            url: '/api/CurrentStatus',
            method: 'delete',
            params: data
        });
    },
	click(value){
		return fetch({
			url: '/api/CurrentStatus/',
			method: 'get',
			data:value
		})
	},
	getDown(id){
		return fetch({
			url: 'api/sysOrg/'+id,
			method: 'get',
		})
	},
	getMessage (){
		return fetch({
			url: 'api/sysOrg/',
			method: 'get',
		})
	}
};
export default CurrentStatusApi;
